<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>制作简易的当当购物车页面</title>
    <link type="text/css" rel="stylesheet" href="css/cartStyle.css" />
    <script type="text/javascript">
    	function open_adv(){
    		window.open("dangdang.html");
    	}
    	function close_plan(){
    		window.close();
    	}
    	function yi_plan(){
    		var con=confirm("请确认要移入？");
    		if(con==true){
    			alert("移入成功");
    		}else{
    			alert("已取消");
    		}
    	}
    	function shan_plan(){
    		var con=confirm("请确认要删除？");
    		if(con==true){
    			alert("删除成功");
    		}else{
    			alert("已取消");
    		}
    	}
    	function jiesuan_plan(){
    		var con=confirm("请确认要物品是否有误？");
    		if(con==true){
    			alert("订单成功");
    		}else{
    			alert("已取消");
    		}
    	}
    </script>
</head>
<body onload="">

<div class="content">
    <div class="logo">
        <img src="img/dd_logo.jpg"><span onclick="close_plan();">关闭</span>
    </div>
    <div class="cartList">
        <ul>
            <li onclick="yi_plan()">移入收藏</li>
            <li onclick="shan_plan()">删除</li>
            <li>移入收藏</li>
            <li onclick="shan_plan()">删除</li>
            <li><span onclick="jiesuan_plan();">结 算</span></li>
        </ul>
    </div>
</div>
</body>
</html>